#include "MCharacter.h"

MCharacter::MCharacter()
{

}

MCharacter::~MCharacter()
{

}

QString MCharacter::get_id()
{
    return this->id;
}

QString MCharacter::get_username()
{
    return this->username;
}

QString MCharacter::get_map_ip()
{
    return this->map_ip;
}

QString MCharacter::get_map_port()
{
    return this->map_port;
}

QString MCharacter::get_map_name()
{
    return this->map_name;
}

QString MCharacter::get_exp()
{
    return this->exp;
}

QString MCharacter::get_level()
{
    return this->level;
}

QString MCharacter::get_bonus()
{
    return this->bonus;
}

QString MCharacter::get_x()
{
    return this->x;
}

QString MCharacter::get_y()
{
    return this->y;
}

QString MCharacter::get_direction()
{
    return this->direction;
}

QTcpSocket* MCharacter::get_socket()
{
    return this->socket;
}

void MCharacter::set_id(QString id)
{
    this->id = id;
}

void MCharacter::set_username(QString username)
{
    this->username = username;
}

void MCharacter::set_map_ip(QString ip)
{
    this->map_ip = ip;
}

void MCharacter::set_map_port(QString map_port)
{
    this->map_port = map_port;
}

void MCharacter::set_map_name(QString map_name)
{
    this->map_name = map_name;
}

void MCharacter::set_exp(QString exp)
{
    this->exp = exp;
}

void MCharacter::set_level(QString level)
{
    this->level = level;
}

void MCharacter::set_bonus(QString bonus)
{
    this->bonus = bonus;
}

void MCharacter::set_x(QString x)
{
    this->x = x;
}

void MCharacter::set_y(QString y)
{
    this->y = y;
}

void MCharacter::set_direction(QString direction)
{
    this->direction = direction;
}

void MCharacter::set_socket(QTcpSocket* socket)
{
    this->socket = socket;
}
